package net.entelijan.cobean.bind.impl;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;

public class RowBeanX {

    private String strval1;
    private String strval2;
    private String strval3;
    private String strval4;

    private int intval1;
    private int intval2;
    private int intval3;
    private int intval4;

    public RowBeanX() {
        super();
    }

    public RowBeanX(String strval1, String strval2, String strval3, String strval4, int intval1,
            int intval2, int intval3, int intval4) {
        super();
        this.strval1 = strval1;
        this.strval2 = strval2;
        this.strval3 = strval3;
        this.strval4 = strval4;
        this.intval1 = intval1;
        this.intval2 = intval2;
        this.intval3 = intval3;
        this.intval4 = intval4;
    }

    public String getStrval1() {
        return strval1;
    }

    public void setStrval1(String strval1) {
        this.strval1 = strval1;
    }

    public String getStrval2() {
        return strval2;
    }

    public void setStrval2(String strval2) {
        this.strval2 = strval2;
    }

    public String getStrval3() {
        return strval3;
    }

    public void setStrval3(String strval3) {
        this.strval3 = strval3;
    }

    public String getStrval4() {
        return strval4;
    }

    public void setStrval4(String strval4) {
        this.strval4 = strval4;
    }

    public int getIntval1() {
        return intval1;
    }

    public void setIntval1(int intval1) {
        this.intval1 = intval1;
    }

    public int getIntval2() {
        return intval2;
    }

    public void setIntval2(int intval2) {
        this.intval2 = intval2;
    }

    public int getIntval3() {
        return intval3;
    }

    public void setIntval3(int intval3) {
        this.intval3 = intval3;
    }

    public int getIntval4() {
        return intval4;
    }

    public void setIntval4(int intval4) {
        this.intval4 = intval4;
    }

    @Override
    public int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

    @Override
    public boolean equals(Object obj) {
        return EqualsBuilder.reflectionEquals(this, obj);
    }

}
